package com.xydtech.ecard.imp.domain;

import com.xydtech.common.annotation.Excel;
import com.xydtech.common.annotation.Excel.Type;
import com.xydtech.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 个体工商户批量导入对象 ecard_merchant_import
 *
 * @author xydtech
 * @date 2024-11-22
 */
public class EcardMerchantImport extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    private Long id;

    /**
     * 姓名
     */
    @Excel(name = "姓名")
    private String name;

    /**
     * 手机号
     */
    @Excel(name = "手机号")
    private String phoneNumber;

    /**
     * 身份证号
     */
    @Excel(name = "身份证号")
    private String cardnum;

    /**
     * 门面名称
     */
    @Excel(name = "门面名称")
    private String handName;

    /**
     * 客户地址
     */
    @Excel(name = "客户地址")
    private String address;

    /**
     * 营业执照名称
     */
    @Excel(name = "营业执照名称")
    private String licenseName;

    /**
     * 是否历史客户
     */
    @Excel(name = "是否历史客户", readConverterExp = "T=是,F=否", combo = "是,否")
    private String whetherHisCustomer;

    /**
     * 管户人工号
     */
    @Excel(name = "管户人工号")
    private String userCode;

    @Excel(name = "管户人", type = Type.EXPORT)
    private String userName;
    /**
     * 归属支行或部门编号
     */
    private Long deptId;

    @Excel(name = "归属支行或部门")
    private String deptName;

    /**
     * 法人机构号
     */
    private Long corpId;

    @Excel(name = "法人机构", type = Type.EXPORT)
    private String corpName;

    /**
     * 是否建档，0：未建档 1：已建档
     */
    @Excel(name = "是否建档", readConverterExp = "0=未建档,1=已建档", type = Type.EXPORT)
    private String whetherRecord;

    private String salt;

    /**
     * 微信端注册id
     */
    private Long registId;

    /**
     * 任务数量
     */
    private Integer taskNums;

    /**
     * 是否分配
     */
    @Excel(name = "是否分配",type = Type.EXPORT)
    private String whetherAllocation;

    /**
     * 执行人
     */
    @Excel(name = "执行人",type = Type.EXPORT)
    private String registName;
    /**
     * 执行人归属机构
     */
    @Excel(name = "执行人归属机构",type = Type.EXPORT)
    private String registDept;
    /**
     * 营销结果
     */
    @Excel(name = "营销结果",type = Type.EXPORT)
    private String semResultName;

    /**
     * 状态 0：删除 1：正常
     */
    private Integer state;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setPhoneNumber(String phoneNumber) {
        this.phoneNumber = phoneNumber;
    }

    public String getPhoneNumber() {
        return phoneNumber;
    }

    public void setCardnum(String cardnum) {
        this.cardnum = cardnum;
    }

    public String getCardnum() {
        return cardnum;
    }

    public void setHandName(String handName) {
        this.handName = handName;
    }

    public String getHandName() {
        return handName;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getAddress() {
        return address;
    }

    public void setLicenseName(String licenseName) {
        this.licenseName = licenseName;
    }

    public String getLicenseName() {
        return licenseName;
    }

    public void setWhetherHisCustomer(String whetherHisCustomer) {
        this.whetherHisCustomer = whetherHisCustomer;
    }

    public String getWhetherHisCustomer() {
        return whetherHisCustomer;
    }

    public String getUserCode() {
        return userCode;
    }

    public void setUserCode(String userCode) {
        this.userCode = userCode;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    public Long getDeptId() {
        return deptId;
    }

    public void setCorpId(Long corpId) {
        this.corpId = corpId;
    }

    public Long getCorpId() {
        return corpId;
    }

    public void setWhetherRecord(String whetherRecord) {
        this.whetherRecord = whetherRecord;
    }

    public String getWhetherRecord() {
        return whetherRecord;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public String getCorpName() {
        return corpName;
    }

    public void setCorpName(String corpName) {
        this.corpName = corpName;
    }

    public String getSalt() {
        return salt;
    }

    public void setSalt(String salt) {
        this.salt = salt;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public Long getRegistId() {
        return registId;
    }

    public void setRegistId(Long registId) {
        this.registId = registId;
    }

    public Integer getTaskNums() {
        return taskNums;
    }

    public void setTaskNums(Integer taskNums) {
        this.taskNums = taskNums;
    }

    public String getWhetherAllocation() {
        return whetherAllocation;
    }

    public void setWhetherAllocation(String whetherAllocation) {
        this.whetherAllocation = whetherAllocation;
    }

    public String getRegistName() {
        return registName;
    }

    public void setRegistName(String registName) {
        this.registName = registName;
    }

    public String getRegistDept() {
        return registDept;
    }

    public void setRegistDept(String registDept) {
        this.registDept = registDept;
    }

    public String getSemResultName() {
        return semResultName;
    }

    public void setSemResultName(String semResultName) {
        this.semResultName = semResultName;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this)
                .append("id", id)
                .append("name", name)
                .append("phoneNumber", phoneNumber)
                .append("cardnum", cardnum)
                .append("handName", handName)
                .append("address", address)
                .append("licenseName", licenseName)
                .append("whetherHisCustomer", whetherHisCustomer)
                .append("userCode", userCode)
                .append("userName", userName)
                .append("deptId", deptId)
                .append("deptName", deptName)
                .append("corpId", corpId)
                .append("corpName", corpName)
                .append("whetherRecord", whetherRecord)
                .append("salt", salt)
                .append("registId", registId)
                .toString();
    }
}
